package com.hxzy.shop.order.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author rlj
 * @Date 2021/7/19 10:25
 * @Version 1.0
 */
@Data
public class ShoppingCarResp {
    @ApiModelProperty("购物车id")
    private Long shopCarId;
    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("活动类型 0无活动 1限时折扣 2秒杀 3组合套餐 4满减 5第X件X折 6满赠")
    private Integer activityType;

    @ApiModelProperty("限购状态 true限购  false不限购")
    private Boolean purchaseRestrictionStatus;

    @ApiModelProperty(value = "限购类型 1超购后无法购买 2超购后原价购买")
    private Integer purchaseType;

    /**
     * 限购件数
     */
    @ApiModelProperty("限购件数")
    private Integer numberRestrictedItems;

    @ApiModelProperty("活动价格，无活动时则为药品价格")
    private BigDecimal activityPrice;

    @ApiModelProperty("是否过期 true 已过期 false 未过期")
    private Boolean hasOutOfDate;

    @ApiModelProperty("门店库存是否充足 true充足 false不足")
    private Boolean stockEnough;

    @ApiModelProperty("商品数量")
    private Integer number;


    @ApiModelProperty("购物车商品")
    private List<ShoppingCarListDrugResp> shoppingCarListDrug;

}
